package com.jumper.study.admin.dto.resp;

import java.time.LocalDateTime;

import com.jumper.study.common.api.OrderStatusCode;

public class OrderStatusResp {
    private Long id;

    private Long adminId;

    private String adminName;

    private OrderStatusCode preStatus;

    private OrderStatusCode status;

    private Long operateId;

    private LocalDateTime createdAt;

    public OrderStatusResp() {
    }

    public OrderStatusResp(Long id, Long adminId, String adminName, OrderStatusCode preStatus, OrderStatusCode status,
            Long operateId, LocalDateTime createdAt) {
        this.id = id;
        this.adminId = adminId;
        this.adminName = adminName;
        this.preStatus = preStatus;
        this.status = status;
        this.operateId = operateId;
        this.createdAt = createdAt;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getPreStatus() {
        return preStatus.getMessage();
    }

    public void setPreStatus(OrderStatusCode preStatus) {
        this.preStatus = preStatus;
    }

    public String getStatus() {
        return status.getMessage();
    }

    public void setStatus(OrderStatusCode status) {
        this.status = status;
    }

    public Long getOperateId() {
        return operateId;
    }

    public void setOperateId(Long operateId) {
        this.operateId = operateId;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
}
